﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.Core.DomainModel;

namespace MethodWorx.CMS.Content
{
    public interface IContentItemRepository : IRepository<ContentItem>
    {
        IEnumerable<ContentItem> FindByPage(Page page);

        IEnumerable<ContentItem> FindByTemplate(Page parentPage, string template, string orderBy, string orderDirection, int? maximum, bool preview, ContentQueryOptions options);
    }
}
